Average sentence length |
---|
20.0462 |
sentence length | percentage |
---|---|
3 | 0.3900 |
4 | 0.8800 |
5 | 1.4200 |
6 | 2.0200 |
7 | 2.5000 |
8 | 2.9400 |
9 | 3.2300 |
10 | 3.4900 |
11 | 3.4100 |
12 | 4.1200 |
13 | 3.9500 |
14 | 3.9000 |
15 | 3.8300 |
16 | 3.9200 |
17 | 4.0000 |
18 | 3.6600 |
19 | 3.6100 |
20 | 3.5600 |
21 | 3.5000 |
22 | 3.6900 |
23 | 3.3800 |
24 | 3.0900 |
25 | 2.9400 |
26 | 2.9200 |
27 | 2.8000 |
28 | 2.7900 |
29 | 2.6900 |
30 | 2.0700 |
31 | 2.1400 |
32 | 1.8600 |
33 | 1.7900 |
34 | 1.6900 |
35 | 1.6100 |
36 | 1.2800 |
37 | 1.2100 |
38 | 0.9700 |
39 | 0.6300 |
40 | 0.7200 |
41 | 0.5600 |
42 | 0.3400 |
43 | 0.2400 |
44 | 0.1500 |
45 | 0.0200 |
46 | 0.0100 |
47 | 0.0400 |
48 | 0.0300 |
49 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters